<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>

<title>Registration</title>

<h1 align="center">Registration</h1>

<html:form action="/registration">

	<div>
		<div>
			<bean:message key="label.firstname" />
		</div>
		<div>
			<html:text property="firstName"></html:text>
		</div>
	</div>
	<br />

	<div>
		<div>
			<bean:message key="label.lastname" />
		</div>
		<div>
			<html:text property="lastName"></html:text>
		</div>
	</div>
	<html:errors property="username" />
	<br />

	<div>
		<div>
			<bean:message key="label.login" />
		</div>
		<div>
			<html:text property="login"></html:text>
		</div>
	</div>
	<html:errors property="login" />
	<br />

	<div>
		<div>
			<bean:message key="label.password" />
		</div>
		<div>
			<html:password property="password"></html:password>
		</div>
	</div>
	<br />

	<div>
		<div>
			<bean:message key="label.confirmpassword" />
		</div>
		<div>
			<html:password property="confirmPassword" />
		</div>
	</div>

	<html:errors property="password" />
	<br />
	<html:errors property="invalidUserName" />
	<br />
	<html:errors property="invalidPassword" />
	<br />
	<html:submit />
	<html:reset />
</html:form>